﻿@model enqueteJwVd.Survey

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Survey</legend>

     <div class="display-label">SurveyId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Id)
    </div>
    
    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">State</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.State)
    </div>

    <div class="display-label">ActivationDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ActivationDate)
    </div>

    <div class="display-label">EndDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndDate)
    </div>

    <div class="display-label">Anonymous</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Anonymous)
    </div>

    <div class="display-label">EndText</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndText)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
